<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BMaterial</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BMaterial">
			<h1>BMaterial</h1>
			<p>继承自<a href="BObject.html">BObject</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BMaterial()">BMaterial</a>();</td></tr>
				<tr><td align="right"></td><td><a href="#BMaterial(const BString&)">BMaterial</a>(const BString& name);</td></tr>
				<tr><td align="right"></td><td><a href="#BMaterial(const BColor&)">BMaterial</a>(const BColor& color);</td></tr>
				<tr><td align="right"></td><td><a href="#~BMaterial()">~BMaterial</a>();</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#copy(const BMaterial*)">copy</a>(const BMaterial* other);</td></tr>
				<tr><td align="right">virtual BMaterial* </td><td><a href="#clone()">clone</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setAmbient(const BColor&)">setAmbient</a>(const BColor& ambient);</td></tr>
				<tr><td align="right">void </td><td><a href="#setAmbient(BByte, BByte, BByte,BByte)">setAmbient</a>(BByte r, BByte g, BByte b, BByte a = 255);</td></tr>
				<tr><td align="right">const BColor& </td><td><a href="#ambient()">ambient</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setDiffuse(const BColor&)">setDiffuse</a>(const BColor& diffuse);</td></tr>
				<tr><td align="right">void </td><td><a href="#setDiffuse(BByte, BByte, BByte,BByte)">setDiffuse</a>(BByte r, BByte g, BByte b, BByte a = 255);</td></tr>
				<tr><td align="right">const BColor& </td><td><a href="#diffuse()">diffuse</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setSpecular(const BColor&)">setSpecular</a>(const BColor& specular);</td></tr>
				<tr><td align="right">void </td><td><a href="#setSpecular(BByte, BByte, BByte,BByte)">setSpecular</a>(BByte r, BByte g, BByte b, BByte a = 255);</td></tr>
				<tr><td align="right">const BColor& </td><td><a href="#specular()">specular</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setEmission(const BColor&)">setEmission</a>(const BColor& emission);</td></tr>
				<tr><td align="right">void </td><td><a href="#setEmission(BByte, BByte, BByte,BByte)">setEmission</a>(BByte r, BByte g, BByte b, BByte a = 255);</td></tr>
				<tr><td align="right">const BColor& </td><td><a href="#emission()">emission</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setShininess(BByte)">setShininess</a>(BByte shininess);</td></tr>
				<tr><td align="right">BByte </td><td><a href="#shininess()">shininess</a>() const;</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BMaterial()">
				<h3>BMaterial();</h3>
			</div>
			<div id="BMaterial(const BString&)">
				<h3>BMaterial(const BString&amp; name);</h3>
			</div>
			<div id="BMaterial(const BColor&)">
				<h3>BMaterial(const BColor&amp; color);</h3>
			</div>
			<div id="~BMaterial()">
				<h3>~BMaterial();</h3>
			</div>
			<div id="copy(const BMaterial*)">
				<h3>virtual void copy(const BMaterial* other);</h3>
			</div>
			<div id="clone()">
				<h3>virtual BMaterial* clone() const;</h3>
			</div>
			<div id="setAmbient(const BColor&)">
				<h3>void setAmbient(const BColor&amp; ambient);</h3>
			</div>
			<div id="setAmbient(BByte, BByte, BByte,BByte)">
				<h3>void setAmbient(BByte r, BByte g, BByte b, BByte a = 255);</h3>
			</div>
			<div id="ambient()">
				<h3>const BColor&amp; ambient() const;</h3>
			</div>
			<div id="setDiffuse(const BColor&)">
				<h3>void setDiffuse(const BColor&amp; diffuse);</h3>
			</div>
			<div id="setDiffuse(BByte, BByte, BByte,BByte)">
				<h3>void setDiffuse(BByte r, BByte g, BByte b, BByte a = 255);</h3>
			</div>
			<div id="diffuse()">
				<h3>const BColor&amp; diffuse() const;</h3>
			</div>
			<div id="setSpecular(const BColor&)">
				<h3>void setSpecular(const BColor&amp; specular);</h3>
			</div>
			<div id="setSpecular(BByte, BByte, BByte,BByte)">
				<h3>void setSpecular(BByte r, BByte g, BByte b, BByte a = 255);</h3>
			</div>
			<div id="specular()">
				<h3>const BColor&amp; specular() const;</h3>
			</div>
			<div id="setEmission(const BColor&)">
				<h3>void setEmission(const BColor&amp; emission);</h3>
			</div>
			<div id="setEmission(BByte, BByte, BByte,BByte)">
				<h3>void setEmission(BByte r, BByte g, BByte b, BByte a = 255);</h3>
			</div>
			<div id="emission()">
				<h3>const BColor&amp; emission() const;</h3>
			</div>
			<div id="setShininess(BByte)">
				<h3>void setShininess(BByte shininess);</h3>
			</div>
			<div id="shininess()">
				<h3>BByte shininess() const;</h3>
			</div>
		</div>
	</body>
</html>